/* **********************************
Reset CSS
************************************** */
/* 
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
} */


/* HTML5 display-role reset for older browsers */
/* 
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
} */


:root {
    /*############# Home page avriables started here #################*/

    /*######### colors and background colors variables started here ##########*/

    --primary-color1: rgba(229, 57, 53, 1);
    --secondary-color1: rgba(248, 35, 72, 1);
    --tertiary-color1: rgba(217, 217, 217, 1);
    --quartenary-color1: rgba(255, 255, 255, 1);
    --quinary-color1: rgba(110, 114, 122, 1);
    --sextary-color1: rgba(84, 101, 225, 1);
    --septenary-color1: rgba(23, 23, 24, 1);

    --mainheading-color: var(--quartenary-color1);
    --subheading-color: var(--primary-color1);
    --card-heading-color: var(--secondary-color1);
    --card-content-color: var(--quartenary-color1);
    --paragraph-primary-color: var(--quartenary-color1);
    --paragraph-secondary-color: var(--tertiary-color1);



    --primary-background-color1: rgba(14, 13, 12, 1);
    --secondary-background-color1: rgb(85, 67, 67);
    --tertiary-background-color1: rgb(247, 248, 259, 1);
    --quaternary-background-color1: #6E727A;

    --background-color-gredient: linear-gradient(90deg, rgba(23, 23, 24, 0.1) 0%, rgba(23, 23, 24, 0) 100%);

    /*######### colors and background colors variables ended here ##########*/


    /*########## border image gradient started here ##############*/
    --border-image-gradient-color: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(102, 102, 102, 0.4) 100%);
    /*################ border image gradient started here ##################*/



    /*############### button variables started here #####################*/
    --button-background-color: var(--primary-color1);
    --button-text-color: var(--quartenary-color1);

    /*############# button variables started here #############*/


    /*######### font family  variables started here ##########*/

    --font-family-primary: "Playpen Sans", cursive;
    --font-family-secondary: "Raleway", sans-serif;
    --font-family-tertiary: "Playfair Display", serif;


    /*######### font family variables ended here ##########*/





    /*################## Home page avriables ended here #######################*/


    /* boder color variables started from here */
    --border-color: var(--primary-color1);
    /* boder color variables ended from here */


    /*######### box shadow and blur variables started here ##########*/


    --box-shadow-primary1: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);



    /*######### box shadow variables ended here ##########*/



    /*########## login registration forms variables started here ##########*/
    --font-small: 15px;

    --forms-mainheading-fontsize: 28px;
    --forms-input-fontsize: var(--font-small);

    /*############ login registration forms variables ended here #########*/

    /*########## chef detail page variables started here ##########*/
    --chef-detail-card-background: var(--septenary-color1);
    --chef-title-background: var(--primary-color1);
    /*########## chef detail page variables ended here ##########*/

    /*########## enquiry form 5 variables started here ##########*/

    --enquiry-icon-background: var(--tertiary-background-color1);
    --enquiry-icon-color: var(--quartenary-color1);

    /*########## enquiry form variables ended here ##########*/


    /*########## footer variables started here ##########*/

    --footer-text-color: var(--quartenary-color1);


    /*########## footer variables ended here ##########*/
}


*,
body {
    line-height: 1.5;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ol,
ul {
    list-style: none;
}

/********************************
 Typography Style
******************************** */

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* *******************************
message-area
******************************** */
/* ##################### Whole Section Enclosing full page   ######################## */
.message-area {
    /* height: 100vh; */
    overflow: hidden;
    /* padding: 30px 0; */
    background: rgb(180, 70, 70);
}

/* #####################  Whole Container of Chat page   ######################## */

.chat-area {
    position: relative;
    width: 100%;
    background-color: #fff;
    border-radius: 0.3rem;
    height: 90vh;
    overflow: hidden;
    min-height: calc(100% - 1rem);
}

/* ##################### Whole caht list   ######################## */

.chatlist {
    outline: 0;
    height: 100%;
    overflow: hidden;
    width: 35%;
    float: left;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;

}
::-webkit-scrollbar {
    display: none;
  }
  .chatlist-border .row{
    padding-right:unset;
  }
  .chat-list-contact{
    padding: unset;
  }

/* ##################### Chat Area whole content   ######################## */

.chat-area .modal-content {
    border: none;
    border-radius: 0;
    outline: 0;
    height: 100%;
}

.chat-area .modal-dialog-scrollable {
    height: 100% !important;
}

/* ##################### Whole Chat box div  ######################## */

.chatbox {
    width: 65%;
    overflow: hidden;
    height: 100%;
    border-left: 1px solid #ccc;
}

.chatbox .modal-dialog,
.chatlist .modal-dialog {
    max-width: 100%;
    margin: 0;
}

/* ########################## Side Bar Title And Search field ################## */
.msg-search {
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: center;
}

/* ##################### Main heading  ######################## */

.m_head {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ##################### Remaining Unseen msgs Count   ######################## */

.msg_count {
    height: 19px;
    padding-inline: 2px;
    color: var(--paragraph-primary-color);
    font-size: 0.8rem;
    margin-left: 8px;
    border: none;
    border-radius: 4px;
    background-color: var(--border-color);
}

/* ##################### Searc Field   ######################## */

.field {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    height: 2.5rem;
    width: 100%;
    Outline: none;
    font-size: var(--forms-input-fontsize);
    padding-left: 1rem;
}

/* ##################### Search Icon Of search chat field   ######################## */

.field_icon {
    position: absolute;
    right: 20px;
    top: 8%;

}

.chat-srch-icon {
    position: absolute;
    bottom: -16px;
    right: -10px;
}

/* #####################  Chat List > Chat > Name   ######################## */

.chat-list h3 {
    color: #222;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    text-transform: capitalize;
    margin-bottom: 0;
}

/* ##################### Chat List > Chat > recent msg   ######################## */

.chat-list p {
    color: var(--quaternary-background-color1);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-transform: capitalize;
    margin-bottom: 0;
}

/* ################# Chatlist Double ticks image & Time Span ##################### */
.dbl_ticks img {
    max-height: 0.6rem;
    margin-right: 5px;

}

/* ################# Chatlist Double ticks image & Time Span ##################### */
.chat-list hr {
    margin: 0;

}

.chat-list a.d-flex {
    margin: 6px 0;
    position: relative;
    text-decoration: none;
}

/* ##################### Status at Chatlist   ######################## */

.chat-list .active {
    display: block;
    content: '';
    clear: both;
    position: absolute;
    bottom: 3px;
    left: 34px;
    height: 12px;
    width: 12px;
    background: #52AC56;
    border-radius: 50%;
    border: 2px solid #fff;
}

.msg-head .chat_info h3 {
    color: #222;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0;
}

.msg-head .chat_info p {
    color: #52AC56;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-transform: capitalize;
    margin-bottom: 0;
    position: relative;
    padding-left: 15px;
}

/* ##################### Status Stling   ######################## */

.chat_info>p::before {
    content: '';
    top: 25%;
    left: 2px;
    position: absolute;
    height: 8px;
    width: 8px;
    border-radius: 5px;
    background-color: #52AC56;

}

.msg-head {
    padding: 15px;
    background-color: #F6F6F6;
}


.msg-body ul {
    overflow: hidden;
}

.msg-body ul li {
    list-style: none;
    margin: 15px 0;
}

.msg-body ul li.sender {
    display: block;
    width: 100%;
    position: relative;
}

/* 
.msg-body ul li.sender:before {
    display: block;
    clear: both;
    content: '';
    position: absolute;
    top: -6px;
    left: -7px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 12px 15px 12px;
    border-color: transparent transparent var(--border-color) transparent;
    -webkit-transform: rotate(-37deg);
    -ms-transform: rotate(-37deg);
    transform: rotate(-37deg);
} */
/* ##################### Serder Msg Styling    ######################## */

.msg-body ul li.sender p {
    color: var(--paragraph-primary-color);
    font-size: 14px;
    max-width: 20rem;
    word-wrap: break-word;
    line-height: 1.5;
    font-weight: 400;
    padding: 15px;
    background: var(--primary-color1);
    display: inline-block;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-bottom: 0;
}

.msg-body ul li.sender p b {
    display: block;
    color: #180660;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.msg-body ul li.repaly {
    display: block;
    width: 100%;
    text-align: right;
    position: relative;
}

/* 
.msg-body ul li.repaly:before {
    display: block;
    clear: both;
    content: '';
    position: absolute;
    bottom: 15px;
    right: -7px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 12px 15px 12px;
    border-color: transparent transparent #4b7bec transparent;
    -webkit-transform: rotate(37deg);
    -ms-transform: rotate(37deg);
    transform: rotate(37deg);
} */
/* ##################### Peply Msg Styling   ######################## */

.msg-body ul li.repaly p {
    color: var(--septenary-color1);
    max-width: 20rem;
    word-wrap: break-word;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    padding: 15px;
    border: 1px solid var(--border-color);
    background: var(--quartenary-color1);
    display: inline-block;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-bottom: 0;
}

.msg-body ul li.repaly p b {
    display: block;
    color: #061061;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.msg-body ul li.repaly:after {
    display: block;
    content: '';
    clear: both;
}

.time {
    display: block;
    color: var(--quinary-color1);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
}

li.repaly .time {
    margin-right: 20px;
}

/* ##################### Timing of the msgs   ######################## */

.divider1 {
    top: 5px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    background: transparent;
    position: relative;
    z-index: 5;
    /* position: relative; */
    /* z-index: 99 ; */

}

.divider1 p {

    box-shadow: var(--box-shadow-primary1);
    border-radius: 8px;
    font-weight: 500;

}

.msg-body h6 {
    /* text-align: center; */
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    color: var(--septenary-color1);
    background: #fff;
    display: inline-block;
    padding: 0 5px;
    margin-bottom: 0;
}

/* ##################### whole form Div    ######################## */


.send-box {
    padding: 10px;
}

/* #####################  Whole form    ######################## */

.send-box form {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 0.8rem;

}

/* ##################### Msg Input Field   ######################## */

.send-box form input {
    position: relative;
    width: 100%;
    height: 3.3rem;
    border-radius: 20px;
    padding: 0.375rem 0.75rem;
    font-size: 15px;
    outline: 0;
    font-weight: 400;
    line-height: 2;
    color: var(--septenary-color1);
    background-color: var(--quartenary-color1);
    border: 1px solid var(--border-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* #####################  MSG Send Button   ######################## */

.send-box button {
    position: absolute;
    right: 4%;
    border: none;
    background: var(--primary-color1);
    padding: 5px;
    color: var(--paragraph-primary-color);
    border-radius: 10px;
    height: 2.5rem;
    width: 50px;
    margin-left: 1%;
    outline: none;
}

/* ##################### Back Icon of chat box    ######################## */

.chat-icon {
    display: none;
}

.closess i {
    display: none;
}



@media (max-width: 767px) {
    .chat-icon {
        display: block;
        margin-right: 5px;
        background-color: var(--primary-color1);
        padding: 5px;
        border: none;
        border-radius: 5px;
        color: var(--paragraph-primary-color);
    }

    .chatlist {
        width: 100%;


    }

    .chatbox {
        width: 100%;
        position: absolute;
        left: 1000px;
        right: 0;
        background: #fff;
        transition: all 0.5s ease;
        border-left: none;
    }

    .showbox {
        left: 0 !important;
        transition: all 0.5s ease;
    }

    .msg-head h3 {
        font-size: 14px;
    }

    .msg-head p {
        font-size: 12px;
    }

    .msg-head .flex-shrink-0 img {
        height: 30px;
    }


    .send-box button {
        right: 8%;
        font-size: 14px;
        height: 2.3rem;
        width: 3rem;
    }


    .chat-list h3 {
        font-size: 14px;
    }

    .chat-list p {
        font-size: 12px;
    }

    .msg-body ul li.sender p {
        font-size: 13px;
        padding: 8px;
        border-bottom-left-radius: 6px;
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
    }

    .msg-body ul li.repaly p {
        font-size: 13px;
        padding: 8px;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        border-bottom-left-radius: 6px;
    }
}